package com.hqyj.javaSpringBoot.modules.account.entity;

import com.hqyj.javaSpringBoot.modules.common.entiy.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "account_role")
public class Role extends AbstractEntity {
    @Column(unique = true)
    private String roleName;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
